package com.zzl.bonds.ticket.dto.bookrelation;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zzl.apidoc.annotation.ApidocModel;
import com.zzl.apidoc.annotation.ApidocModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 联系人票关系表
 *
 * @author gull
 * @date 2021-12-07 16:29:41
 */
@Data
@ApidocModel
public class TicketBookRelationAddDto implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApidocModelProperty(description = "通讯录id")
    private Integer addressBookId;
    @ApidocModelProperty(description = "业务数据表主键，例：开立是传入开立票据id，转让时传入转让票据id")
    private Integer objId;
    @ApidocModelProperty(description = "业务类型，1开立，2开立签收，3转让，4转让签收，5融资，6异常")
    private Integer type;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApidocModelProperty(description = "创建时间", validate = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApidocModelProperty(description = "修改时间", validate = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    @ApidocModelProperty(description = "创建人")
    private Integer creatorId;
    @ApidocModelProperty(description = "1 表示删除，0 表示未删除")
    private Integer deletedStatus;
    @ApidocModelProperty(description = "企业id")
    private String enterpriseId;

}
